package com.briup.labs.service;

import com.briup.labs.pojo.PageBean;
import com.briup.labs.pojo.SmartDevice;

import java.util.List;

public interface SmartDeviceService {

    //分页查询
    PageBean<SmartDevice> list(String pageNum, String pageSize, String key, String typeId);

    List<SmartDevice> list(String key, String typeId);

    //添加或修改
    void saveOrUpdate(SmartDevice smartDevice);

    //删除
    void delete(String id);
}
